package com.wesley.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * created by wei xin on 2020/3/6 0006
 */
@FeignClient(name = "test-server2")
public interface TestServer2Feign {

    @RequestMapping(value = "/server2/showMsg", method = RequestMethod.GET)
    void showMsg();


    @RequestMapping(value = "/server2/test2" , method = RequestMethod.GET)
    void saveAdmin();

}
